import request from '../utils/request';
import url from '../utils/url';

//协议信息列表
export function list(params) {
    return request(url.agreementList, {
        method: 'POST',
        params
    });
}

//添加协议信息
export function add(params) {
    return request(url.addAgreement, {
        method: 'POST',
        params
    });
}

//修改协议信息
export function upd(params) {
    return request(url.updAgreement, {
        method: 'POST',
        params
    });
}
//修改协议信息
export function del(params) {
    return request(url.delAgreement, {
        method: 'POST',
        params
    });
}
